/**
* 公共样式
*/
/* 样式初始化 */
* {
  margin: 0;
  padding: 0;
}
body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dl,
dt,
dd,
li {
  margin: 0;
  padding: 0;
  /* 去掉无序列表的点 */
  list-style: none;
}
html,
body {
  height: 100%;
  overflow: hidden;
  user-select: none;
}

//日期选择器中间文字
.el-range-separator {
    line-height: 26px;
    width: auto!important;
}

// 页面表格公共样式兼容主题色 (需要开启斑马纹stripem, 样式)
.el-table {
  //表头
  th.is-leaf {
    background: var(--theme-weaken-color-10) !important; // #f6f8fa;
    font-size: 14px;
    font-weight: 400;
    height: 40px;
    padding: 8px auto;
    box-sizing: border-box;
    color: rgba(81, 90, 110, 1);
    // border: none;
  }
  //每一行
  td {
    height: 40px;
    // border: none;
    padding: 0;
  }
  //表格斑马线
  .el-table__body tr.el-table__row--striped {
    td {
      background: #f6f8fa !important;
    }
    &.hover-row td, &.current-row td {
      background: var(--theme-weaken-color-10) !important ;
    }
  }
  .el-table__row:hover td,
  .hover-row td,
  .current-row td {
    background: var(--theme-weaken-color-10) !important ;
  }
}
// 表格边框颜色
.table-bar .el-table,
.table-bar .el-table td,
.table-bar .el-table th {
  border-color: #dfe6ec;
}

.el-table td, .el-table th.is-leaf {
  border-bottom: 1px solid #dfe6ec !important;
}
.table-bar .el-table--border::after,
.table-bar .el-table--group::after,
.table-bar .el-table::before,
.table-bar .el-table__fixed-right::before,
.table-bar .el-table__fixed::before {
  background: #dfe6ec;
}

// 分页组件公共样式
.page-bar {
  .pagination {
    text-align: right;
    padding: 12px 0 !important;
    white-space: normal;
    .btn-prev {
      width: 6%;
    }
    .btn-next {
      width: 6%;
    }
  }
}
